package com.jm.common.util;

import com.jm.common.model.StandardReport;
import com.jm.common.model.StandardSubmit;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author:JianWu
 * @Date: 2025/1/20  16:39
 */
public class CMPPDeliverMapUtil {
    private static ConcurrentHashMap<String, StandardReport>  map = new ConcurrentHashMap<>();

    public static void put(String msgId, StandardReport submit){
        map.put(msgId,submit);
    }

    public static StandardReport get(String msgId){
        return map.get(msgId);
    }

    public static StandardReport remove(String msgId){
        return map.remove(msgId);
    }
}
